package com.tgb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页控制器
 *
 * @author hejingyuan
 */
@Controller
@RequestMapping("/main")
public class MainController {

	/**
	 * 显示索引页面
	 * @return
	 */
    @RequestMapping(value = "/index")
    public String index() {
        return "/main/index";
    }
    /**
	 * 显示欢迎页面
	 * @return
	 */
    @RequestMapping(value = "/welcome")
    public String welcome() {
        return "/main/welcome";
    }

}
